package com.example.springboot.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TwoCircularDependencyService {
    @Autowired
    private OneCircularDependencyService oneCircularDependencyService;

    public String getOneCircularDependency(){
        return oneCircularDependencyService.getOneCircularDependency();
    }

    public String getTwoCircularDependency(){
        return "Two";
    }
}
